from apscheduler.schedulers.background import BackgroundScheduler
from .Novels import start_task as novel_tasks
from .wx_tasks import start_task as wx_tasks

# 创建后台任务调度器
scheduler = BackgroundScheduler()

# 添加任务
novel_tasks(scheduler)
wx_tasks(scheduler)